package com.mt.api.modules.mapstruct;

import com.mt.api.util.AmountUtil;
import org.springframework.stereotype.Component;

/**
 * @Author: plover
 * @Date: 2022/01/13 4:57 下午
 * @Description:
 */
@Component
public class AmountTransMapStruct {

    /**
     * 分转为元
     * @param num
     * @return
     */
    public static String divideHundred(Integer num) {
        return AmountUtil.divideHundred(num);
    }

}
